package com.hankol.newretail.adapter

import com.baselibrary.extension.checkValue
import com.baselibrary.utils.GlideUtils
import com.baselibrary.view.RoundCornerImageView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.hankol.newretail.R
import com.hankol.newretail.bean.NoSupportSkuDtoBean

/*不可购买多个商品 封面*/
class NoBuyGoodsCoverAdapter : BaseQuickAdapter<NoSupportSkuDtoBean, BaseViewHolder>(R.layout.item_no_buy_goods) {

    override fun convert(helper: BaseViewHolder, item: NoSupportSkuDtoBean) {
        GlideUtils.loadImg_101(mContext, item.skuCover.checkValue(), helper.getView<RoundCornerImageView>(R.id.skuCover))
    }
}